package com.dy.nygl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.dy.nygl.pojo.EnergyParamter;


@Component("energyParamterDAO")
public interface EnergyParamterMapper {

	public List<EnergyParamter> getEnergyParamterAllList();

	public int getEnergyParamterCount();
	public EnergyParamter getEnergyParamterById(@Param("id")int id);
	public void addEnergyParamter(@Param("ep")EnergyParamter ep);
	public void updateEnergyParamter(@Param("ep")EnergyParamter ep);
	public void deleteEnergyParamter(@Param("ep")EnergyParamter ep);
}
